package com.guigu.common.pojo;

import lombok.ToString;

import java.io.Serializable;

/**
 * 生产工序表
 */
@ToString
public class MProcedure implements Serializable {
//序号
    private Integer id;

//父级序号
    private Integer parentId;

//工序序号
    private Integer detailsNumber;

//工序编号
    private String procedureId;

//工序名称
    private String procedureName;

//设计工时数
    private Integer labourHourAmount;

//实际工时数
    private Integer realLabourHourAmount;

//设计工时成本
    private Integer subtotal;

//实际工时成本
    private Integer realSubtotal;

//设计物料成本
    private Integer moduleSubtotal;

//实际物料成本
    private Integer realModuleSubtotal;

//单位工时成本
    private Integer costPrice;

//工序投产数量
    private Integer demandAmount;

//工序合格数量
    private Integer realAmount;

//    工序完成标志  g004-0: 未开始  g004-1: 已完成 g004-2: 未完成  g004-3: 已审核
    private String procedureFinishTag;
//工序交接标志 g005-0: 未交接 g005-1: 已交接 g005-2: 已审核
    private String procedureTransferTag;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getDetailsNumber() {
        return detailsNumber;
    }

    public void setDetailsNumber(Integer detailsNumber) {
        this.detailsNumber = detailsNumber;
    }

    public String getProcedureId() {
        return procedureId;
    }

    public void setProcedureId(String procedureId) {
        this.procedureId = procedureId == null ? null : procedureId.trim();
    }

    public String getProcedureName() {
        return procedureName;
    }

    public void setProcedureName(String procedureName) {
        this.procedureName = procedureName == null ? null : procedureName.trim();
    }

    public Integer getLabourHourAmount() {
        return labourHourAmount;
    }

    public void setLabourHourAmount(Integer labourHourAmount) {
        this.labourHourAmount = labourHourAmount;
    }

    public Integer getRealLabourHourAmount() {
        return realLabourHourAmount;
    }

    public void setRealLabourHourAmount(Integer realLabourHourAmount) {
        this.realLabourHourAmount = realLabourHourAmount;
    }

    public Integer getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(Integer subtotal) {
        this.subtotal = subtotal;
    }

    public Integer getRealSubtotal() {
        return realSubtotal;
    }

    public void setRealSubtotal(Integer realSubtotal) {
        this.realSubtotal = realSubtotal;
    }

    public Integer getModuleSubtotal() {
        return moduleSubtotal;
    }

    public void setModuleSubtotal(Integer moduleSubtotal) {
        this.moduleSubtotal = moduleSubtotal;
    }

    public Integer getRealModuleSubtotal() {
        return realModuleSubtotal;
    }

    public void setRealModuleSubtotal(Integer realModuleSubtotal) {
        this.realModuleSubtotal = realModuleSubtotal;
    }

    public Integer getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(Integer costPrice) {
        this.costPrice = costPrice;
    }

    public Integer getDemandAmount() {
        return demandAmount;
    }

    public void setDemandAmount(Integer demandAmount) {
        this.demandAmount = demandAmount;
    }

    public Integer getRealAmount() {
        return realAmount;
    }

    public void setRealAmount(Integer realAmount) {
        this.realAmount = realAmount;
    }

    public String getProcedureFinishTag() {
        return procedureFinishTag;
    }

    public void setProcedureFinishTag(String procedureFinishTag) {
        this.procedureFinishTag = procedureFinishTag == null ? null : procedureFinishTag.trim();
    }

    public String getProcedureTransferTag() {
        return procedureTransferTag;
    }

    public void setProcedureTransferTag(String procedureTransferTag) {
        this.procedureTransferTag = procedureTransferTag == null ? null : procedureTransferTag.trim();
    }
}